package cn.wolfcode.trip.base.service;

import cn.wolfcode.trip.base.domain.Region;
import cn.wolfcode.trip.base.domain.TravelCommend;
import cn.wolfcode.trip.base.query.TravelCommendQueryObject;
import com.github.pagehelper.PageInfo;

import java.util.List;
import java.util.Map;

public interface ITravelCommendService {


    void saveOrUpdate(TravelCommend commend);

    PageInfo list(TravelCommendQueryObject qo);

    void selectByTravelId(Long travelId);

    PageInfo<Map> selectForCommend(TravelCommendQueryObject qo);
}
